home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / pref-notifications.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-07-29  |  4.1 KB  |  96 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.  
  6.  The contents of this file are subject to the Mozilla Public License Version
  7.  1.1 (the "License"); you may not use this file except in compliance with
  8.  the License. You may obtain a copy of the License at
  9.  http://www.mozilla.org/MPL/
  10.  
  11.  Software distributed under the License is distributed on an "AS IS" basis,
  12.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.  for the specific language governing rights and limitations under the
  14.  License.
  15.  
  16.  The Original Code is Mozilla Communicator client code, released
  17.  March 31, 1998.
  18.  
  19.  The Initial Developer of the Original Code is
  20.  Netscape Communications Corporation.
  21.  Portions created by the Initial Developer are Copyright (C) 1998-2001
  22.  the Initial Developer. All Rights Reserved.
  23.  
  24.  Contributor(s):
  25.    rcassin@supernova.org
  26.    Seth Spitzer <sspitzer@netscape.com>
  27.  
  28.  Alternatively, the contents of this file may be used under the terms of
  29.  either of the GNU General Public License Version 2 or later (the "GPL"),
  30.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.  in which case the provisions of the GPL or the LGPL are applicable instead
  32.  of those above. If you wish to allow use of your version of this file only
  33.  under the terms of either the GPL or the LGPL, and not to allow others to
  34.  use your version of this file under the terms of the MPL, indicate your
  35.  decision by deleting the provisions above and replace them with the notice
  36.  and other provisions required by the GPL or the LGPL. If you do not delete
  37.  the provisions above, a recipient may use your version of this file under
  38.  the terms of any one of the MPL, the GPL or the LGPL.
  39.  
  40.  ***** END LICENSE BLOCK ***** -->
  41.  
  42. <?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
  43. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  44.  
  45. <!DOCTYPE page SYSTEM "chrome://messenger/locale/pref-notifications.dtd">
  46.  
  47. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  48.       onload="parent.initPanel('chrome://messenger/content/pref-notifications.xul');"
  49.       headertitle="&pane.title;"
  50.       id="mailNotificationsPage">
  51.  
  52.   <script type="application/x-javascript" src="chrome://messenger/content/pref-notifications.js"/>
  53.  
  54.   <script type="application/x-javascript">
  55.   <![CDATA[
  56.     var _elementIDs = ["mailnewsSoundFileUrl", "newMailNotification", 
  57.                        "newMailNotificationType",
  58.                        "newMailNotificationAlert"];
  59.   ]]>
  60.   </script>
  61.   
  62.   <groupbox id="newMessagesArrivePrefs">
  63.     <caption id="newMessagesArriveCaption" label="&newMessagesArrive.label;"/>
  64.  
  65.     <vbox align="start">
  66.       <checkbox id="newMailNotificationAlert" label="&showAnimatedAlert.label;"
  67.                 prefstring="mail.biff.show_alert"
  68.                 accesskey="&showAnimatedAlert.accesskey;" />
  69.       <checkbox id="newMailNotification" accesskey="&playSound.accesskey;"
  70.                 prefstring="mail.biff.play_sound" label="&playSound.label;"
  71.                 oncommand="PlaySoundCheck()"/>
  72.     </vbox>
  73.     
  74.     <hbox align="center" class="indent" id="newMailNotificationSoundSelectBox">
  75.       <radiogroup id="newMailNotificationType" prefstring="mail.biff.play_sound.type" orient="vertical">
  76.         <radio id="system" class="iconic" value="0" oncommand="PlaySoundCheck()" 
  77.                label="&systemsound.label;" accesskey="&systemsound.accesskey;"/>
  78.         <radio id="custom" class="iconic" value="1" oncommand="PlaySoundCheck()"
  79.                label="&customsound.label;" accesskey="&customsound.accesskey;"/>
  80.       </radiogroup>
  81.     </hbox>
  82.  
  83.     <hbox align="center" class="indent">
  84.       <textbox readonly="true" flex="1" id="mailnewsSoundFileUrl" preftype="string"
  85.            prefstring="mail.biff.play_sound.url"/>
  86.       <hbox align="center">
  87.         <button id="browse" label="&browse.label;" filepickertitle="&browse.title;"
  88.                 accesskey="&browse.accesskey;" oncommand="Browse()"/>
  89.         <button id="preview" label="&preview.label;"
  90.                 accesskey="&preview.accesskey;" oncommand="PreviewSound()"/>
  91.       </hbox>
  92.     </hbox>
  93.   </groupbox>
  94.  
  95. </page>
  96.